package com.yzmoney.wechat.model.token;

import java.util.Date;

public class AccessToken {
	
	private String accessToken;
	
	private Date lastGetTime;

	public AccessToken() {
		super();
	}

	public AccessToken(String accessToken, Date lastGetTime) {
		super();
		this.accessToken = accessToken;
		this.lastGetTime = lastGetTime;
	}

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}
	
	public Date getLastGetTime() {
		return lastGetTime;
	}

	public void setLastGetTime(Date lastGetTime) {
		this.lastGetTime = lastGetTime;
	}

	@Override
	public String toString() {
		return "AccessToken [accessToken=" + accessToken + ", lastGetTime="
				+ lastGetTime + "]";
	}
}
